<?php

/**
 * 阿里云短信回执和上行
 */
namespace app\wxapp\controller;

use think\Controller;
use think\Request;
use app\common\model\DyiotUp;
class Dyiot extends Controller
{
    public function setSmsUp()
    {
        $request = Request::instance();
        $param = $request->post();
        if(!empty($param)){
            $dyiotUp = new DyiotUp();
            $dyiotUp->saveAll($param);
            
        }
        return json(['code'=>0,'msg'=>'成功']);
        
    }

    public function setSmsReport()
    {
        
    }
}